package pattern21;

/**
 * BaseColleague,抽象的同事类
 * @author wdl
 */
public class BaseColleague {
    protected IMediator mediator;

    /**
     * 得到中介者对象
     * @param mediator 中介者
     */
    public BaseColleague(IMediator mediator){
        this.mediator=mediator;
    }
}
